#! /usr/bin/python
# coding: utf-8

from Tkinter import *

root = Tk()

vLang = IntVar()
vOS = IntVar()
vOS.set(2)

for v in [vLang, vOS]:
    for i in range(3):
        Radiobutton(root, text='python'+str(i), variable=v, value=i).pack()

root.mainloop()
